package com.itqf.Dao;

import com.itqf.entity.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
//通过用户id查询用户信息
    User FindFindByuid(String uid);

    public int updetfindbyuserstate(String userid);

    public User findbytoken(String token);


    List<User> Findall();

    int updateusergread(Map map);

    User findusers(String userid);

    String finduserandgrade(String userid);

    /*
   jmhh
    */
    //List<User> Findall();
    User getUserByUserName(String email);
    User getUserByUser(String userName);
    int insertUser(User user);
    int updatePassWordByEmail(User user);
    int updateUserByToken(User user);
    int phoneUpdatePassword(User user);
    User getUserByPhone(String phone);
    //int updateToken(String token);
    int insertUserByPhone(User user);
    int addUserByPhoneAndPassWord(User user);
    //jmhh==========

}